import Vue from 'vue';
import App from './App';
import uView from 'uview-ui';
import './common/styles/index.css';

//#ifdef H5
import './registerServiceWorker';
import AlloyFinger from 'alloyfinger';
import AlloyFingerPlugin from 'alloyfinger/vue/alloy_finger_vue';
Vue.use(AlloyFingerPlugin, { AlloyFinger });
//#endif

Vue.config.productionTip = false;
Vue.use(uView);

App.mpType = 'app';

const app = new Vue({ ...App });

import request from '@/utils/request.js';
Vue.use(request, app);

app.$mount();
